import request from '@/utils/request'

// 查询圣宸报价单列表
export function listScQuote(query) {
  return request({
    url: '/third/scQuote/list',
    method: 'get',
    params: query
  })
}

// 查询圣宸报价单详细
export function getScQuote(id) {
  return request({
    url: '/third/scQuote/' + id,
    method: 'get'
  })
}

// 新增圣宸报价单
export function addScQuote(data) {
  return request({
    url: '/third/scQuote',
    method: 'post',
    data: data
  })
}

// 修改圣宸报价单
export function updateScQuote(data) {
  return request({
    url: '/third/scQuote',
    method: 'put',
    data: data
  })
}

// 删除圣宸报价单
export function delScQuote(id) {
  return request({
    url: '/third/scQuote/' + id,
    method: 'delete'
  })
}
